-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Possibilities to add ButtonID to Confirmation Dialog #464
base: trunk
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for vip-design-system-components ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Crixu Thanks for your contribution, but using buttonId
is not a standard name, especially in this case that it's going to Close button, but you are passing in a parent component. This property will be confusing for users, not knowing where this ID is being applied.
But even better would be for you to use a better CSS selector in pendo, instead of relying on IDS. Can you to the query from a upper component, like: "#parentId button
?
The goal is to get an ID added to the confirm button which was achieved in this case. In the Storybook Playground I only see the ID attached to the confirm button. |
This pull request has been marked stale because it has been open for 60 days with no activity. If there is no activity within 7 days, it will be closed. This is an automation to keep pull requests manageable and actionable and is not a comment on the quality of this pull request nor on the work done so far. Closed PRs are still valuable to the project and their branches are preserved. |
Description
This PR introduces the ability to set a custom ID or CSS selector for the confirmation button in NewConfirmationDialog. This enhancement enables better feature usage tracking in Pendo.
Related Issue: #463
Steps to Test
Outline the steps to test and verify the PR here.
Example:
npm run dev
./docs/dialog-newconfirmationdialog--docs
.